import { axios } from "../src/utils/request"
import path from "./api";
const base = path.apiBaseUrl + "";

export default {
  
  post(data){
    return axios.post(base,data)
  },
  delete(id){
    return axios.delete(base+id)
  },
  put(id,data){
    return axios.put(base+id,data)
  },
  get(id){
    return axios.get(base+id)
  }
}